//引入封装的请求服务
import { POST, UPLOAD } from '@/services/request'

export default {
    login(data = {}) {
        return POST({
            url: "business/login",
            params: data
        })
    },
    register(data = {}) {
        return POST({
            url: "business/register",
            params: data
        })
    },
    profile(data = {}) {
        return UPLOAD({
            url: "business/profile",
            params: data
        })
    },
    collect(data = {}){
        return POST({
            url: "business/collect",
            params: data
        })
    },
    consum(data = {}){
        return POST({
            url: "business/consum",
            params: data
        })
    },
    getAboutData(data = {}){
        return POST({
            url: "business/about",
            params: data
        })
    }
}